﻿
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="jumbotron">
    <p><a id="insAlipay" class="btn btn-primary btn-lg">H5支付</a></p>
</div>

<script>
    $(function () {
        $("#insAlipay").click(function () {
            $.post("/JuHePay/pay", function (suc) {
                $(".jumbotron").append(suc);

                location.href = suc

            })
        });
    })
</script>